export default {
    modules: {
        development: {

            // 建筑满足废弃标准的最长限制时间，超过时间，建筑有概率废弃
            abandonThreshold: 10,

            // 建筑满足废弃标准的最长限制时间，被废弃的概率
            abandonChance: 0.25,

            // 建造一个建筑所需要的天数
            constructionTime: 3,

            // 建筑升级的概率
            levelUpChance: 1,

            // 建筑不满足废弃的标准后，重新开发的概率
            redevelopChance: 1,
        },
        jobs: {
            // Max # of workers at a building
            maxWorkers: 2,
        },
        residents: {
            // Max # of residents in a house
            maxResidents: 2,
            // Chance for a resident to move in
            residentMoveInChance: 0.5,
        },
        roadAccess: {
            // Max distance to search for a road when determining road access
            searchDistance: 3
        },
    },
    citizen: {
        // Minimum working age for a citizen
        minWorkingAge: 16,
        // Age when citizens retire
        retirementAge: 65,
        // Max Manhattan distance a citizen will search for a job
        maxJobSearchDistance: 4
    },
    vehicle: {
        // The distance travelled per millisecond
        speed: 0.0005,
        // The start/end time where the vehicle should fade
        fadeTime: 500,
        // Maximum lifetime of a vehicle (controls max # of vehicles on screen)     
        maxLifetime: 10000,
        // How often vehicles are spawned in milliseconds
        spawnInterval: 1000
    },
};
